NevronOpenVision
Nevron.Nov.Graphics Namespace / NLinearGradientFill Class / NLinearGradientFill Constructor / NLinearGradientFill Constructor(NAngle,NColor[])
Angle of rotation of the gradient axis.
An array of colors to be used for the gradient stops.
In This Topic
    NLinearGradientFill Constructor(NAngle,NColor[])
    In This Topic
    Creates a linear gradient fill with equally spaced gradient stops with the specified colors.
    Syntax
    public NLinearGradientFill( 
       NAngle angle,
       params NColor[] colors
    )

    Parameters

    angle
    Angle of rotation of the gradient axis.
    colors
    An array of colors to be used for the gradient stops.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also